|
|
About This Tutorial
Chapter 1: Overview
UDDI and ebXML Standard Formats
Distributed Multitiered Applications
Enterprise Information System Tier
Application Component Provider
Application Deployer and Administrator
Enterprise JavaBeans Technology
Java Naming and Directory Interface
JavaBeans Activation Framework
SOAP with Attachments API for Java (SAAJ)
Java Authentication and Authorization Service
Simplified Systems Integration
Chapter 2: Understanding XML
XML and Related Specs: Digesting the Alphabet Soup
Linking and Presentation Standards
Writing Processing Instructions
Substituting and Inserting Text
Creating a Document Type Definition (DTD)
Defining Attributes and Entities in the DTD
Defining Parameter Entities and Conditional Sections
Designing an XML Data Structure
Chapter 3: Getting Started with Web Applications
Setting Up To Build and Deploy Tutorial Examples
Starting and Stopping the J2EE Application Server
Starting the deploytool Utility
Mapping URLs to Web Components
Setting Initialization Parameters
Declaring References to Environment Entries, Resource Environment Entries, or Resources
Accessing Databases from Web Applications
Starting the PointBase Database Server
Populating the Example Database
Defining a Data Source in the J2EE Server
Configuring the Web Application to Reference a Data Source with JNDI
Mapping the Web Application JNDI Name to a Data Source
Chapter 4: Java API for XML Processing
The Simple API for XML (SAX) APIs
The Document Object Model (DOM) APIs
The XML Stylesheet Language for Transformation (XSLT) APIs
Compiling and Running the Programs
Chapter 5: Simple API for XML
Echoing an XML File with the SAX Parser
Implementing the ContentHandler Interface
Compiling and Running the Program
Adding Additional Event Handlers
Identifying the Document's Location
Handling Processing Instructions
Handling Errors with the Nonvalidating Parser
Displaying Special Characters and CDATA
Handling Text with XML-Style Syntax
Handling CDATA and Other Characters
DTD's Effect on the Nonvalidating Parser
Choosing your Parser Implementation
Experimenting with Validation Errors
Error Handling in the Validating Parser
Using the DTDHandler and EntityResolver
Chapter 6: Document Object Model
Create Adapters to Display the DOM in a JTree
Examining the Structure of a DOM
Displaying a More Complex Tree
Constructing a User-Friendly JTree from a DOM
Creating and Manipulating a DOM
Obtaining a DOM from the Factory
Overview of the Validation Process
Configuring the DocumentBuilder Factory
Validating with Multiple Namespaces
Chapter 7: XML Stylesheet Language for Transformations
The JAXP Transformation Packages
XPath Data Types and Operators
Writing Out a DOM as an XML File
Writing Out a Subtree of the DOM
Generating XML from an Arbitrary Data Structure
Modifying the Parser to Generate SAX Events
Using the Parser as a SAXSource
Transforming XML Data with XSLT
Defining a Simple <article> Document Type
Processing the Basic Structure Elements
Processing the Remaining Structure Elements
Process Inline (Content) Elements
Transforming from the Command Line with Xalan
Concatenating Transformations with a Filter Chain
Understanding How the Filter Chain Works
Chapter 8: Building Web Services With JAX-RPC
Creating a Web Service with JAX-RPC
Specifying the Endpoint Address
Creating Web Service Clients with JAX-RPC
Dynamic Invocation Interface (DII) Client Example
J2EE Application Client Example
Chapter 9: SOAP with Attachments API for Java
Creating and Sending a Simple Message
Adding Content to the SOAP Body
Adding Content to the SOAPPart Object
Adding a Document to the SOAP Body
Manipulating Message Content Using SAAJ or DOM APIs
Chapter 10: Java API for XML Registries
Using Taxonomies in JAXR Clients
Before You Compile the Examples
Using JAXR Clients in J2EE Applications
Coding the Application Client: MyAppClient.java
Coding the PubQuery Session Bean
Starting the J2EE Application Server
Creating and Packaging the Application
Saving the Client JAR and Running the Application
Undeploying and Removing the Application
Chapter 11: Java Servlet Technology
Handling Servlet Life Cycle Events
Controlling Concurrent Access to Shared Resources
Getting Information from Requests
Filtering Requests and Responses
Programming Customized Requests and Responses
Including Other Resources in the Response
Transferring Control to Another Web Component
Associating Attributes with a Session
Notifying Methods to Shut Down
Creating Polite Long-Running Methods
Chapter 12: JavaServer Pages Technology
Using Objects within JSP Pages
Deactivating Expression Evaluation
JavaBeans Component Design Conventions
Creating and Using a JavaBeans Component
Setting JavaBeans Component Properties
Retrieving JavaBeans Component Properties
Including the Tag Library Implementation
Transferring Control to Another Web Component
Setting Properties for Groups of JSP Pages
Chapter 13: JavaServer Pages Standard Tag Library
Chapter 14: Custom Tags in JSP Pages
Encapsulating Reusable Content using Tag Files
Evaluating Fragments Passed to Tag Files
Declaring Tag Attributes for Tag Handlers
Declaring Tag Variables for Tag Handlers
Programming Simple Tag Handlers
Chapter 15: Scripting in JSP Pages
Initializing and Finalizing a JSP Page
Programming Tags That Accept Scripting Elements
Chapter 16: Internationalizing and Localizing Web Applications
Java Platform Localization Classes
Providing Localized Messages and Labels
Chapter 17: New Features for EJB 2.1 Technology
Web Service Example: HelloServiceEJB
Source Code for HelloServiceEJB
Building the Web Service Client
Running the Web Service Client
Chapter 18: Security
Declaring and Linking Role References
Mapping Roles to Users and Groups
Authenticating Users of Web Resources
Using Programmatic Security in the Web Tier
Installing and Configuring SSL Support
Setting Up Digital Certificates
Using Programmatic Security in the EJB Tier
Application Client-Tier Security
Configuring Resource Adapter Security
Configuring a Component's Propagated Security Identity
Configuring Client Authentication
Using Java Authorization Contract for Containers
Chapter 19: J2EE Connector Architecture
Connector 1.5 Resource Adapters
Chapter 20: The Java Message Service API
How Does the JMS API Work with the J2EE Platform?
Writing Simple JMS Client Applications
Setting Your Environment for Running Applications
A Simple Example of Synchronous Message Receives
A Simple Example of Asynchronous Message Consumption
Running JMS Client Programs on Multiple Systems
Creating Robust JMS Applications
Using Basic Reliability Mechanisms
Using Advanced Reliability Mechanisms
Using the JMS API in a J2EE Application
Using Session and Entity Beans to Produce and to Synchronously Receive Messages
Managing Distributed Transactions
Using the JMS API with Application Clients and Web Components
Specifying Deployment Descriptors
Chapter 21: J2EE Examples Using the JMS API
A Simple J2EE Application that Uses the JMS API
Writing the Application Components
Creating and Packaging the Application
Saving the Client JAR and Running the Application
Undeploying and Removing the Application
A J2EE Application that Uses the JMS API with a Session Bean
Writing the Application Components
Creating and Packaging the Application
Saving the Client JAR and Running the Application
Undeploying and Removing the Application
A J2EE Application that Uses the JMS API with an Entity Bean
Overview of the Human Resources Application
Writing the Application Components
Creating and Packaging the Application
Saving the Client JAR and Running the Application
Undeploying and Removing the Application
An Application Example that Consumes Messages from a Remote J2EE Server
Writing the Application Components
Creating and Packaging the Applications
Saving the Client JAR and Running the Application Client
Undeploying and Removing the Applications
An Application Example that Deploys a Message-Driven Bean on Two J2EE Servers
Writing the Application Components
Creating and Packaging the Applications
Saving the Client JAR and Running the Application Client
Undeploying and Removing the Applications
Appendix A: Java Encoding Schemes
Appendix B: HTTP Overview
Glossary
About the Authors
Index
|
|